//
//  Date+CB.swift
//  FoundationCustom
//
//  Created by ZhouJiatao on 2019/7/21.
//  Copyright © 2019 Unknow. All rights reserved.
//

import Foundation

public extension Date {
    public func cb_string() -> String {
        return self.string(withFormat: "yyyy-MM-dd HH:mm")
    }
}
